package view;

import java.awt.Container;
import java.awt.FlowLayout;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

import javax.swing.JFrame;

public class TestFrame extends JFrame {
	
	/* Required for serializable interface */
	private static final long serialVersionUID = 818148271075948079L;

	public TestFrame() {
		Container container = super.getContentPane();
		container.setLayout(new FlowLayout()); 
		
		this.addWindowListener(new WindowAdapter()
		{
			public void windowClosing(WindowEvent e) {
				setVisible(false);
			}
		});
		
		this.setSize(800, 600);
		this.setVisible(true);
	}
}
